{{if count>0}}
<footer class="footer bg-white b-t" data-type="ajaxPage">
  <div class="row text-center-xs">
      <div class="col-md-6 hidden-sm">
          <p class="text-muted m-t">总共{{count}}条 当前为第{{currentPage}}页</p>
      </div>
      <div class="col-md-6 col-sm-12 text-right text-center-xs">
          <ul class="pagination pagination-sm m-t-sm m-b-none" data-apages-total="{{totalPage}}" data-apage-current="{{currentPage}}">

            <li {{if currentPage==1}} class="disabled"{{/if}}>
              <a href="javascript:;" rel="first" data-page-num="1"><i class="fa fa-angle-double-left" title="第一页"></i></a>
            </li>
            <li {{if currentPage==1}} class="disabled"{{/if}}>
              <a href="javascript:;" rel="prev" data-page-num="{{currentPage-1}}"><i class="fa fa-angle-left" title="上一页"></i></a>
            </li>
            {{each pagelist as item}}
              <li {{if currentPage==item}} class="active"{{/if}}>
                <a href="javascript:;" data-page-num="{{item}}" data-page-isnum="true">{{item}}</a>
              </li>
            {{/each}}
            <li {{if currentPage==totalPage}} class="disabled"{{/if}}><a href="javascript:;" rel="next" data-page-num="{{currentPage+1}}"><i class="fa fa-angle-right" title="下一页"></i></a></li>
            <li {{if currentPage==totalPage}} class="disabled"{{/if}}><a href="javascript:;" rel="last" data-page-num="{{totalPage}}"><i class="fa fa-angle-double-right" title="最后页" ></i></a></li>
          </ul>
      </div>
  </div>
</footer>
{{/if}}